package com.xinqi.modules.sys.gpt.convert;

import com.xinqi.common.mapstruct.CommonConvertConfig;
import com.xinqi.modules.sys.gpt.domain.DayCountEntity;
import com.xinqi.modules.sys.gpt.dto.req.DayCountCreateDTO;
import com.xinqi.modules.sys.gpt.dto.req.DayCountUpdateDTO;
import com.xinqi.modules.sys.gpt.dto.rsp.DayCountResultDTO;
import org.mapstruct.Mapper;

/**
 * 每日用户配额转换
 *
 * @author: yyzhen
 * @date: 2023/05/23
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class DayCountConvert {
    public abstract DayCountEntity create(DayCountCreateDTO s);

    public abstract DayCountEntity update(DayCountUpdateDTO s);

    public abstract DayCountResultDTO convert(DayCountEntity s);
}
